package com.ruoyi.cs.mapper;

import com.ruoyi.cs.domain.TBattleSpoils;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * @ClassName TBattleSpoilsMapper
 * @Description TODO
 * @Author zz
 * @Date 2024/2/25
 **/
public interface TBattleSpoilsMapper {
    /**
     * @Desc: 批量新增
     * @author: zz
     * @date: 2024/2/25
     */
    int batchInsert(@Param("spoilsList") List<TBattleSpoils> spoilsList);

    /**
     * @Desc: 对战奖品
     * @author: zz
     * @date: 2024/2/25
     */
    List<TBattleSpoils> findByBattleId(@Param("battleId") String battleId);
}
